package com.sumainfor.pc.market.service.tenant.impl;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.dao.tenant.ToRenewPactMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Map;

/**
 * <p>
 * 根据合同编号查询是否存在续租合同
 * <p>
 *
 * @author: zc
 * @create: 2019-10-30 18:26
 **/
@Service
public class ToRenewPactService implements Serializable {

    @Autowired
    ToRenewPactMapper toRenewPactMapper;

    public JsonResult getRenewPact(Map<String,Object> params){
        JsonResult result = new JsonResult();
        return result.put(toRenewPactMapper.getRenewPact(params));
    }
}
